package com.bai.Service;

import com.bai.Pojo.Department;
import com.bai.dto.PageLimitDto;
import com.bai.dto.PublicResponseBody;

public interface DepartmentService {
    //删--根据Id
    PublicResponseBody deleteDepart(Integer  id);
    //添加
    PublicResponseBody addDepart(Department department);
    //修改
    PublicResponseBody editDepart(Department department);
    //根据id获取Admin详情
    PublicResponseBody getDepart(Integer id);

    //查询所有部门
    PageLimitDto queryAllDepart(String departmentname,Integer offset, Integer limit);

    //查询所有部门
    PublicResponseBody queryAllDepartChart();

    //根据囚犯ID查询囚犯简介
    PublicResponseBody queryDepartDetailsById(Integer id);


}
